package io.lkt.modules.sys.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.lkt.modules.sys.entity.BArticleInfoEntity;
import io.lkt.modules.sys.entity.PushDetailLogEntity;
import io.lkt.modules.sys.entity.PushHeadLogEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface PushHeadLogDao extends BaseMapper<PushHeadLogEntity> {

    Integer queryTotal(Map<String, Object> map);

    List<PushHeadLogEntity> queryList(Map<String, Object> map);

    List<PushHeadLogEntity> queryVital(Map<String, Object> map);

    PushHeadLogEntity queryById(Integer id);

    List<PushDetailLogEntity> getDetailById(Map<String, Object> params);

    int getDetailTotal(Map<String, Object> params);
}
